home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Nebula 2
/
Nebula Two.iso
/
SourceCode
/
GameKit
/
Headers
/
gamekit
/
HighScoreController.h
< prev
next >
Wrap
Text File
|
1995-06-12
|
2KB
|
54 lines
/* Generated by Interface Builder */
#import <appkit/appkit.h>
#import <machkit/senderIsInvalid.h>
@interface HighScoreController:Object <HighScoreClient, NXSenderIsInvalid>
{
id gameInfo; // the app's gameInfo object
id localTables; // contains HighScoreTables or subclass thereof.
id remoteTables; // contains HighScoreTables or subclass thereof.
id localServers; // the objects which serve high scores (local)
id remoteServers; // the objects which serve high scores (remote)
id serverNames; // contains the names of each server
id strings; // NXStringTable
id highScorePanel; // window with high score (top 10) matrix
id preferences; // PreferencesBrain object
id scoreKeeper;
id clearMenu; // Clear High Scores Menu item
BOOL localScores; // are we using the server or the local file?
BOOL connected; // are we connected to the server?
char *serverHost;
int lastTableNum;
}
- init;
- appDidInit:sender;
- connectToServers;
- setLocalScores:(BOOL)flag;
- closeServers;
- (BOOL)connected;
- (BOOL)localScores;
- senderIsInvalid:sender;
- (char *)serverHost;
- setServerHost:(const char *)name;
- table:(int)num;
- nameForSlot:(int)slotNum inTable:(int)tableNum is:(const char *)newName;
- serverForName:aString;
- (int)serverNumberFromName:aString;
- (int)highScore:(int)num;
- (int)highestScore;
- zeroHighScores;
- tableProtoType;
- setHighScoreWindowTitle;
- displayHighScores:sender;
- putInHighScores:aSlot;
- clearHighScores:sender;
- scoreKeeper;
- setScoreKeeper:newKeeper;
- (BOOL)slotIsEligible:aSlot;
@end